package com.reebake.ideal.security.oauth2.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties("security.oauth2.client")
public class OAuth2ClientSecurityProperties {
    /** 登录地址 */
    private String loginFormUrl = "/login";
    /** 绑定用户地址 */
    private String bindUrl = "/oauth2/user/bind";
    /** 跳转地址参数 */
    private String targetUrlParameter;
    /** 访问token过期时间，单位：毫秒 */
    private Long accessTokenExpireIn = 24 * 60 * 60 * 1000L;
}
